package com.cskaoyan.util;

import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.user.Address;
import com.cskaoyan.bean.wxaddress.AddressParam;
import com.cskaoyan.bean.wxcollect.CollectParam;
import com.cskaoyan.bean.wxcomment.WxCommentsBo;
import com.cskaoyan.bean.wxtopic.WXTopicParam;
import com.github.pagehelper.PageHelper;

public class PageUtil {

    public static void start(BaseParam param) {
        PageHelper.startPage(param.getPage(), param.getLimit());
    }
    public static void start(CollectParam param) {
        PageHelper.startPage(param.getPage(), param.getLimit());
    }
    public static void start(AddressParam param) {
        PageHelper.startPage(param.getPage(), param.getLimit());
    }
    public static void start(WxCommentsBo param) {
        PageHelper.startPage(param.getPage(), param.getLimit());
    }
    public static void start(WXTopicParam param) {
        PageHelper.startPage(param.getPage(), param.getLimit());
    }


}
